package com.tpyule.tpclass.service.impl;

import com.tpyule.tpclass.dao.WebDao;
import com.tpyule.tpclass.entity.pojo.Web;
import com.tpyule.tpclass.service.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zzz
 * @version 1.0
 * @date 2020/4/21 13:23
 */
@Service
public class WebServiceImpl implements WebService {
    @Autowired
    WebDao webDao;
    @Override
    public Web getWeb(int webId) {
        return webDao.getWeb(webId);
    }

    @Override
    public int updateWeb(Web web) {
        return webDao.updateWeb(web);
    }
}
